package com.gxc.dao.jpa;

import com.gxc.entity.User;
import java.util.List;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
 * User Jpa.
 *
 * @author 宫新程
 * @since 2019/2/13 20:01
 */
public interface UserRepository
    extends JpaRepository<User, Integer>, JpaSpecificationExecutor<User> {

  List<User> findUserByUsername(String username);

}
